home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
batchut
/
bat.zip
/
BATDOC.BAT
< prev
next >
Wrap
DOS Batch File
|
1984-08-28
|
40KB
|
1,028 lines
bat * Loading on-line HELP and DOCUMENTATION .....
bat * Written by F.Canova 10/5/83. Enhanced Ken Goosens 11/15/83.
bat * (c) Copyright 1983 by Seaware Corp. all rights reserved.
bat goto -line0
bat -header |* Routine prints general purpose header for help text
bat stack.purge |* remove any pre-typed keystrokes.
bat cls begtype
╔════════════════════════════════════════════════════════════════════════════╗\0F
end
bat type %s%s%s %h ............. Page %n
bat begtype
╚════════════════════════════════════════════════════════════════════════════╝
Press: PGDN for next page, PGUP for prev page, HOME for main menu.
end
bat return
bat -scroll |* Routine accepts key for scrolling help text
bat inkey %k
bat if %k = KEY003 goto -opt0 |* Break key
bat if %k = KEY01B %L = 0 | return |* ESC key
bat if %k = KEY147 %L = 0 | return |* Home key
bat if %k = KEY149 %L = %L - 1 | cls | return |* PgUp key
bat if %k = KEY151 %L = %L + 1 | cls | return |* PgDn key
bat goto -scroll |* ignore any other key.
bat * ROUTINE TO HAVE USER GIVE A COMMAND A TRY !!
bat * %A = string which must match
bat -tryit
bat begtype
Enter your guess! ;
end
bat -tryit.loop
bat if .%a <> . skip 8 |* end of string ?
bat begtype
EXCELLENT !! - that's exactly it!
end
bat read Press the ─┘ key to continue to next section.....
bat return
bat %b = %a $ 1 1 |* get 1st letter
bat %a = %a $ 2 |* remove it from string
bat -tryit.try
bat inkey %i |* get a key.
bat if %i = KEY020 type %b; | goto -tryit.loop
bat if %i = %b type %i; | goto -tryit.loop
bat beep goto -tryit.try
bat -line0
bat -line44
bat cls begtype
\0F╔════════════════ BATDOC ═══════════════════╗
║ Menu driven HELP and DOCUMENTATION. ║
╙───────────────────────────────────────────╜
GENERAL:\07
1. Introduction and how to use this Help.
2. The user supported concept.
3. BAT-BBS information. On-line users forum.
\0FEXTENDED BATCH LANGUAGE version 2.0\07
4. What BAT is.... an introduction.
5. Printing to display.
6. Reading data from users.
7. Making decisions and controlling program flow.
8. Using the keyboard stack.
9. Sensing program's results.
10. Assignment statements.
11. Debugging aids.
12. Additional information.
0. Exit.
END
bat -entry0
bat read Enter the number of your selection. > %A
bat if / = /%a %a = 1
bat if %a < 13 if %a > 1/ cls goto -opt%a
bat if %a < : if %a > / cls goto -opt%a
bat beep begtype
I DON'T KNOW THAT OPTION!
Just enter a number 0 to 12 and press the ─┘ key.
end
bat goto -entry0
bat -opt0 cls begtype
Ready to leave on-line help! Press a key:
<\0FS\07>ystem <\0FD\07>emo <\0FH\07>elp
end
bat -exiting inkey %a
bat if %a = S exit
bat if %a = H goto -line0
bat if %a = D stack BATDEMO | exit
bat beep goto -exiting
bat -line1
bat -opt1 %h = INTRODUCTION | %L = 1 | %N = 1.0
bat call -header
bat begtype
This program will provide you with help information on the use of
the EXTENDED BATCH LANGUAGE version 2.0. It is designed to allow for
easy access and retrieval of information that would be harder to find
by more conventional means.
The information is broken up into multiple sections. Each section
may have several pages. To access each page in order, just keep
pressing the PGDN key. At the top of your screen is the name of the
section which you are in and the page number.
\0FNote:\07
If you wish to directly enter another section now, press the \0fHOME\07
key to return to the main menu, enter the proper \0fsection number\07 and
press the \0f─┘\07 key.
end
bat call -scroll | goto -line%L
bat -line2 %n = 1.1 | call -header | begtype
While in any of these sections, there are just three keys needed:
PGDN - This key will advance to the next page of any section. If
there are no more pages in the section, then it will advance
to the next section.
PGUP - This key will back up to a previous page within a section.
If there are no more previous pages within a section, it
will backup to the previous section.
HOME or ESC - Either of these keys will return directly to the
main menu. From the menu, any section can be looked at
directly by entering the section number and pressing ─┘.
end
bat call -scroll | goto -line%L
bat -line3 %n = 1.2 | call -header | begtype
There are several sections where you will be given questions and answers.
If you would like to peek and see answer without specifically answering it,
you can press the space bar to reveal the answer letter by letter.
One interesting facet you should know while using this on-line help
and documentation is that you are using the EXTENDED BATCH LANGUAGE
program to display and control these menus.
Never before has a batch language been so powerful on the IBM
personal computer as to be able to provide a facility like this. In
the following pages of description, we hope that you will see, as we
did, that this program has extraordinary capability which does much
more than just expand the capability of DOS. In fact, it gives new
power to your system by providing capabilities never before possible.
end
bat call -scroll | goto -line%L
bat -opt2
bat -line4 %H = USER%sSUPPORTED | %L = 4 | %n = 2.0 | call -header | begtype
╓─ ─╖
║ PRIVATE USERS, If you are using this program and find it of value, ║
║ your contribution ($30 suggested) will be appreciated. ║
║ ║
║ You are encouraged to copy and share this program with other users, ║
║ on the conditions that the program is not distributed in modified ║
║ form, that no fee or consideration is charged, and that this notice is ║
║ not bypassed or removed. ║
║ ║
║ In appreciation of your $30 contribution, you will be provided with a ║
║ detailed users guide and diskette giving you complete descriptions, ║
║ examples, and tips on this program's use. All contributors are given ║
║ access to the BAT-BBS, a hot-line for assistance, tips, and updates. ║
║ ║
║ The $30 license fee (per system) is required for COMMERCIAL USERS if ║
║ used in a place of business or incorporated into another product. ║
║ ║
╙─ (c) Copyright 1982, 1983 by Seaware Corp. All rights reserved. ─╜
end
bat call -scroll | goto -line%L
bat -line5 %n = 2.1 | call -header | begtype
For your $30 contribution, you will be provided with a detailed users
guide. This hardcopy manual has over 70 pages of descriptions, examples,
useful utilities, and tips on this program's use. It is prepunched for an
IBM binder for ready reference. You will also receive a diskette
containing the latest program version and useful utilities. All
contributors are also invited to use the BAT-BBS, an on-line forum for
user's ideas, tips, programs, and assistance. (See next section for more
information). Only with your support can we help you even more.
This concept was founded by Andrew Fugleman at Headlands Press, Inc.
with a series of software called "Freeware"(tm). I would like to thank
Andrew for his inspiration and help. Because I feel that good software
should have someone standing behind it, we at Seaware want to put your
contribution directly into support for you as our thanks of your support of
us. If you find this program of value, you are encouraged to send in your
contribution. Your support will not go unnoticed.
Seaware Corp. ≡≡≡≡ Post Office Box 1656 ≡≡≡≡ Delray Beach, FL 33444
end
bat call -scroll | goto -line%L
bat -opt3
bat -line6 %H = BAT%s-%sBBS | %L = 6 | %n = 3.0 | call -header | begtype
One of the special services we provide to EXTENDED BATCH LANGUAGE
users is through a communication medium called "BAT-BBS". This is
a direct link from you to other users, as well as Seaware.
The following list shows the many things that
BAT-BBS can provide . . .
end
bat call -scroll | goto -line%L
bat -line7 %n = 3.1 | call -header | begtype
FOR USERS WITH A MODEM:
* BAT-BBS is a hotline for your questions!
* Directly access our computer at Seawar